package com.supersit.greensproject.entity;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * APK版本信息实体类
 * Created by cong on 2016/7/18.
 */
@Table(name = "update_info")
public class UpdateInfo implements Serializable {
    @Column(name = "id", isId = true)
    private int id;
    @Column(name = "version")
    private String version;
    @Column(name = "url")
    private String url;
    @Column(name = "description")
    private String description;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "UpdateInfo{" +
                "id=" + id +
                ", version='" + version + '\'' +
                ", url='" + url + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
